package com.aivin.adovertool.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 * @author Aivin
 * created on 2023/11/8
 * des:
 */
public class LyDataTool {

    public static String getFormatDateStringYyyyMMddHHmmssFromLongTime(long mills) {
        Date date = new Date(mills);
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("MM-dd HH:mm:ss", Locale.getDefault());
        return simpleDateFormat.format(date);
    }
}
